/* -----------------------------------------------列表转化为表格------------------------------------------- */
.list[data-node-id][data-type="NodeList"][custom-f="bg"]{
	display:grid;
	width: calc(100% - 8px);
	padding:15px 5px 15px 5px;
	overflow-x: auto;
    & .li {
        display: flex;
        outline:  1px solid var(--b3-border-color);
        background-color: var(--b3-theme-background);
        border-radius: 0px;
        flex-direction: unset;
        margin: 0;
        &:before{
            display: none!important;
        }
        &>div {
            margin-right: 20px;/* 调整每个子列表项右侧边距 */
        }
        & .list {
            padding: 0px;
            margin: 0px !important;
            width:100%;
            outline: 1px solid var(--b3-border-color);
            border-radius: 0px;
            &>.li:first-child:nth-last-child(2){
                top: 50%;
                transform: translate(0, -50%);
                height:100%;
            }/*单子项居中*/
        }
        &>.protyle-action {
            position: absolute;
            top: 50%;
            transform: translate(0, -50%);
            opacity:0.3;
        }/* 设置前面的符号居中对齐 */
    }
    & [data-node-id].li>[data-node-id] {
        margin-left: 6px !important;
    }
    & .p {
        flex: 1;
        left:18px;
        text-align: left;
        align-items: center;
        display: flex;
        min-width: 120px;
        min-height: 30px;
        height:auto;
        margin: 0;
    }
    & .li>.list>.li {
        outline: none !important;
        border-top:1px solid var(--b3-border-color);
        &:first-of-type {
            border-top: none;
        }
    }
}


.protyle-wysiwyg *[custom-f="bg"] .li [data-type="NodeHeading"]>[spellcheck]:after{
	display:none;
}/*取消标题层级提示*/




.protyle-wysiwyg *[custom-f="bg"] .code-block {
	width:calc(100% - 12px);
}

